package top.aicey.ai.sparring.common.constants;

import top.aicey.ai.sparring.dto.model.ErrorContext;

public class ErrorConstants {
    public static final ErrorContext INVALID_TOKEN = new ErrorContext("100001", "invalid token");
    public static final ErrorContext INVALID_PARAMS = new ErrorContext("100002", "invalid params");
    public static final ErrorContext UNABLE_CONNECT_DB = new ErrorContext("100003", "unable to connect to the database");
    public static final ErrorContext RESOURCE_NOT_EXISTS = new ErrorContext("100004", "resource not found");
    public static final ErrorContext EVENT_ERROR = new ErrorContext("100006", "event error");
    public static final ErrorContext RPC_TIMEOUT = new ErrorContext("100007", "rpc invoke timeout");
    public static final ErrorContext SENSITIVE_CHECK_ERROR = new ErrorContext("100009", "sensitive check error");

}
